//
//  NewsObject.h
//  YiChat20160706
//
//  Created by 李政 on 16/7/7.
//  Copyright © 2016年 ZhiYou. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NewsObject : NSObject


//可以描述属性为id,但是我们不推荐
@property (nonatomic,assign)int ID;

@property (nonatomic,assign)int type;

@property (nonatomic,copy)NSString *channel;

@property (nonatomic,copy)NSString *news_title;

@property (nonatomic,copy)NSString *intro;

@property (nonatomic,copy)NSString *source_url;

@property (nonatomic,copy)NSString *time;

@property (nonatomic,copy)NSString *source;

@property (nonatomic,assign)int readtimes;

@property (nonatomic,copy)NSString *auther;

@property (nonatomic,strong)NSArray *images;

//description 禁止的，如果写了程序会崩溃
//@property (nonatomic,strong)NSString *description;


//禁止以newXXX开头命名属性。
//@property (nonatomic,strong)NSString *newName;


@end
